ElasticPress\Feature\WooCommerce\Orders A

Total Complexity 58
Dependencies 5
Dependents 1
Total lines 509
Lines of code 274
Logical lines of code 112
Comment lines 177
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
add_order_items_search()
A
52 9 22
hpos_compatibility_notice()
A
50 8 27
search_order()
A
56 8 16
maybe_set_search_fields()
S
44 4 49
maybe_hook_woocommerce_search_fields()
S
61 6 11
__call()
S
48 4 37
should_integrate_with_query()
S
62 5 11
allow_meta_keys()
S
50 2 34
translate_args()
S
62 3 12
bypass_order_permissions_check()
S
68 2 7
keep_order_fields()
S
68 2 7
get_supported_post_types()
S
60 1 15
__construct()
S
81 1 3
setup()
S
62 1 10
tear_down()
S
64 1 9
get_admin_searchable_post_types()
S
75 1 4